package cn.xbtop.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import cn.xbtop.mapper.TAccountTypeCertMapper;
import cn.xbtop.bean.TAccountTypeCert;
import cn.xbtop.service.TAccountTypeCertService;
/**
 * @author  Mxb
 * @date  2020/6/6 18:33
 * @version 1.0
 */
@Service
public class TAccountTypeCertServiceImpl implements TAccountTypeCertService{

    @Resource
    private TAccountTypeCertMapper tAccountTypeCertMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tAccountTypeCertMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TAccountTypeCert record) {
        return tAccountTypeCertMapper.insert(record);
    }

    @Override
    public TAccountTypeCert selectByPrimaryKey(Integer id) {
        return tAccountTypeCertMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKey(TAccountTypeCert record) {
        return tAccountTypeCertMapper.updateByPrimaryKey(record);
    }

}
